package com.wa.service

import com.wa.mapper.VmInfoMapper
import com.wa.pojo.VmInfo
import org.springframework.stereotype.Service
import javax.annotation.Resource

@Service
class VmInfoService {

    @Resource
    lateinit var vmInfoMapper: VmInfoMapper

    fun selectAll(): List<VmInfo> {
        var vmInfo = VmInfo()
        vmInfo.vmMac = "000000000283"

        var list: List<VmInfo> = vmInfoMapper.selectAll(vmInfo)
        list.forEach { println(it) }
        return list
    }
}


fun sle(){

}